import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from './plugins/element-plus'
import Pinia from './plugins/pinia'
import VXETable from './plugins/vxe-table'
import 'vxe-table/lib/style.css'
import './styles/index.scss'
import './premission'

// 注册 SvgIcon 组件
import SvgIcon from '@/components/SvgIcon.vue'
import 'virtual:svg-icons-register'

const app = createApp(App)

app.component('SvgIcon', SvgIcon)

app.use(ElementPlus)
app.use(Pinia)
app.use(VXETable)
app.use(router)
app.mount('#app')
